<template>
    <div class="home">
        <h-button type="danger" @click="clickButton">危险按钮</h-button>
        <h-button type="warning" @click="clickButton">警告按钮</h-button>
        <h-button type="default" @click="clickButton">默认按钮</h-button>
        <h-button type="primary" @click="clickButton">主要按钮</h-button>
        <h-button type="success" @click="clickButton">成功按钮</h-button>
    </div>
</template>

<script>
export default {
    name: "Home",
    components: {},
    data() {
        return {
            
        }
    },
    methods:{
        clickButton(e){
            console.log(e);
        }
    }
};
</script>
